package com.frogs.ucenter.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;


public interface TagService {
	
	/**
	 * 根据性别和年龄获取推荐的标签
	 * @param sex
	 * @param age
	 * @return
	 */
	public JSONObject getTagListBySexaAge(Integer sex, Integer age);
	
	public List<Map<String,String>> getUserTags(int userId) throws Exception;
	
	public JSONObject getUserTagsForJson(int userId) throws Exception;
	
	public JSONObject deleteUserTag(Integer userId, Integer tagId) throws Exception;
	
	public JSONObject relateUserTag(Integer userId, Integer tagId) throws Exception;

}
